package com.ruoyi.system.domain.HUAWEI;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * EMS厂履历数据对象 T_BTP_MTL_CURRICULUM_VIATE_TI
 *
 * @author ruoyi
 * @date 2023-03-08
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("T_BTP_MTL_CURRICULUM_VIATE_TI")
public class TBtpMtlCurriculumViateTi implements Serializable {

private static final long serialVersionUID=1L;


        /** 接口ID */
        @Excel(name = "接口ID")
    private String interfaceId;

        /** 数据源 */
        @Excel(name = "数据源")
    private String dataSource;

        /** 数据源关键字ID */
        @Excel(name = "数据源关键字ID")
    private String sourceKeyId;

        /** 交易时间 */
        @Excel(name = "交易时间" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date processDate;

        /** 扫描人工号 */
        @Excel(name = "扫描人工号")
    private String processBy;

        /** 扫描人姓名 */
        @Excel(name = "扫描人姓名")
    private String processByName;

        /** 数据类型/任务类型/制程阶段 */
        @Excel(name = "数据类型/任务类型/制程阶段")
    private String processStage;

        /** 阶段代码 */
        @Excel(name = "阶段代码")
    private String processCode;

        /** 阶段名称 */
        @Excel(name = "阶段名称")
    private String processName;

        /** 指令号 */
        @Excel(name = "指令号")
    private String instructNo;

        /** 组织id */
        @Excel(name = "组织id")
    private Integer orgId;

        /** 任务令 */
        @Excel(name = "任务令")
    private String taskNo;

        /** 产品编码 */
        @Excel(name = "产品编码")
    private String barItemCode;

        /** 物料PSN */
        @Excel(name = "物料PSN")
    private String psn;

        /** 物料条码 */
        @Excel(name = "物料条码 09")
    private String barcode;

        /** 物料SN */
        @Excel(name = "物料SN")
    private String sn;

        /** 物料编码 */
        @Excel(name = "物料编码")
    private String itemCode;

        /** 物料类型 */
        @Excel(name = "物料类型")
    private String itemType;

        /** itemId */
        @Excel(name = "物料类型")
    private Integer itemId;

        /** itemRev */
        @Excel(name = "物料类型")
    private String itemRev;

        /** 物料LC */
        @Excel(name = "物料LC")
    private String lotCode;

        /** 物料DC */
        @Excel(name = "物料DC")
    private String dateCode;

        /** 物料型号 */
        @Excel(name = "物料型号")
    private String mtlModel;

        /** EMS工厂ID */
        @Excel(name = "EMS工厂ID")
    private Integer vendorId;

        /** EMS工厂代码 */
        @Excel(name = "EMS工厂代码")
    private String vendorCode;

        /** EMS工厂名称 */
        @Excel(name = "EMS工厂名称")
    private String vendorName;

        /** 物料制造商 */
        @Excel(name = "物料制造商")
    private String mannufacturer;

        /** 物料供应商ID */
        @Excel(name = "物料供应商ID")
    private Integer mtlVendorId;

        /** 物料供应商代码 */
        @Excel(name = "物料供应商代码")
    private String mtlVendorCode;

        /** 物料供应商名称 */
        @Excel(name = "物料供应商名称")
    private String mtlVendorName;

        /** classNo */
        @Excel(name = "物料供应商名称")
    private String classNo;

        /** countryCode */
        @Excel(name = "物料供应商名称")
    private String countryCode;

        /** countryName */
        @Excel(name = "物料供应商名称")
    private String countryName;

        /** cityCode */
        @Excel(name = "物料供应商名称")
    private String cityCode;

        /** cityName */
        @Excel(name = "物料供应商名称")
    private String cityName;

        /** 物料加工工厂ID */
        @Excel(name = "物料加工工厂ID")
    private Integer factoryId;

        /** 物料加工工厂代码 */
        @Excel(name = "物料加工工厂代码")
    private String factoryCode;

        /** 物料加工工厂名称 */
        @Excel(name = "物料加工工厂名称")
    private String factoryName;

        /** deptCode */
        @Excel(name = "物料加工工厂名称")
    private String deptCode;

        /** deptName */
        @Excel(name = "物料加工工厂名称")
    private String deptName;

        /** workShopCode */
        @Excel(name = "物料加工工厂名称")
    private String workShopCode;

        /** workShopName */
        @Excel(name = "物料加工工厂名称")
    private String workShopName;

        /** workSectionCode */
        @Excel(name = "物料加工工厂名称")
    private String workSectionCode;

        /** workSectionName */
        @Excel(name = "物料加工工厂名称")
    private String workSectionName;

        /** 线体 */
        @Excel(name = "线体")
    private String lineNo;

        /** 工序代码 */
        @Excel(name = "工序代码")
    private String workstepCode;

        /** 工序名称 */
        @Excel(name = "工序名称")
    private String workstepName;

        /** workstationCode */
        @Excel(name = "工序名称")
    private String workstationCode;

        /** workstationName */
        @Excel(name = "工序名称")
    private String workstationName;

        /** 仓库代码 */
        @Excel(name = "仓库代码")
    private String warehourseCode;

        /** 仓库名称 */
        @Excel(name = "仓库名称")
    private String warehourseName;

        /** 子库代码 */
        @Excel(name = "子库代码")
    private String inventoryCode;

        /** 子库名称 */
        @Excel(name = "子库名称")
    private String inventoryName;

        /** 货位代码 */
        @Excel(name = "货位代码")
    private String locatorCode;

        /** 货位名称 */
        @Excel(name = "货位名称")
    private String locatorName;

        /** building */
        @Excel(name = "货位名称")
    private String building;

        /** floors */
        @Excel(name = "货位名称")
    private String floors;

        /** area */
        @Excel(name = "货位名称")
    private String area;

        /** qcChkNo */
        @Excel(name = "货位名称")
    private String qcChkNo;

        /** 采购PO */
        @Excel(name = "采购PO")
    private String po;

        /** contractNo */
        @Excel(name = "采购PO")
    private String contractNo;

        /** 数量 */
        @Excel(name = "数量")
    private Float quantity;

        /** 箱LPN(库房） */
        @Excel(name = "箱LPN(库房）")
    private String boxno;

        /** 栈板LPN(库房） */
        @Excel(name = "栈板LPN(库房）")
    private String palletNo;

        /** temperature */
        @Excel(name = "栈板LPN(库房）")
    private String temperature;

        /** humidity */
        @Excel(name = "栈板LPN(库房）")
    private String humidity;

        /** qcChkRlt */
        @Excel(name = "栈板LPN(库房）")
    private String qcChkRlt;

        /** qcChkDateS */
        @Excel(name = "栈板LPN(库房）" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qcChkDateS;

        /** qcChkDateE */
        @Excel(name = "栈板LPN(库房）" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qcChkDateE;

        /** sampleQty */
        @Excel(name = "栈板LPN(库房）")
    private Integer sampleQty;

        /** sampleLevel */
        @Excel(name = "栈板LPN(库房）")
    private String sampleLevel;

        /** qcChkMethod */
        @Excel(name = "栈板LPN(库房）")
    private String qcChkMethod;

        /** criticalQty */
        @Excel(name = "栈板LPN(库房）")
    private Integer criticalQty;

        /** slightQty */
        @Excel(name = "栈板LPN(库房）")
    private Integer slightQty;

        /** qcChkAcctQty */
        @Excel(name = "栈板LPN(库房）")
    private Integer qcChkAcctQty;

        /** qcReturnQty */
        @Excel(name = "栈板LPN(库房）")
    private Integer qcReturnQty;

        /** badElectronicNo */
        @Excel(name = "栈板LPN(库房）")
    private String badElectronicNo;

        /** chkUerNo */
        @Excel(name = "栈板LPN(库房）")
    private String chkUerNo;

        /** chkUer */
        @Excel(name = "栈板LPN(库房）")
    private String chkUer;

        /** qcStartTime */
        @Excel(name = "栈板LPN(库房）" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qcStartTime;

        /** qcEndTime */
        @Excel(name = "栈板LPN(库房）" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qcEndTime;

        /** 创建日期 */
        @Excel(name = "创建日期" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

        /** 创建人 */
        @Excel(name = "创建人")
    private String createdBy;

        /** 修改日期 */
        @Excel(name = "修改日期" , width = 30, dateFormat = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedDate;

        /** 修改人 */
        @Excel(name = "修改人")
    private String lastUpdatedBy;

        /** 数据上载标识 */
        @Excel(name = "数据上载标识")
    private Integer uploadFlag;

        /** 校验标识 */
        @Excel(name = "校验标识")
    private Integer status;

        /** 校验信息 */
        @Excel(name = "校验信息")
    private String errorMessage;

        /** 隔离单号 */
        @Excel(name = "隔离单号")
    private String lockNo;

        /** 隔离标识 */
        @Excel(name = "隔离标识")
    private String lockFlag;

        /** 删除标识 */
        private String delFlag;

        /** 滚动发料标识 */
        @Excel(name = "滚动发料标识")
    private Integer rollFlag;

        /** executeDept */
        @Excel(name = "滚动发料标识")
    private String executeDept;

        /** projectCode */
        @Excel(name = "滚动发料标识")
    private String projectCode;

        /** projectName */
        @Excel(name = "滚动发料标识")
    private String projectName;

        /** address */
        @Excel(name = "滚动发料标识")
    private String address;

        /** 责任人 */
        @Excel(name = "责任人")
    private String mtlOwner;

        /** toExecuteDept */
        @Excel(name = "责任人")
    private String toExecuteDept;

        /** 去向仓库代码 */
        @Excel(name = "去向仓库代码")
    private String toWarehourseCode;

        /** 去向仓库名称 */
        @Excel(name = "去向仓库名称")
    private String toWarehourseName;

        /** 去向子库代码 */
        @Excel(name = "去向子库代码")
    private String toInventoryCode;

        /** 去向子库名称 */
        @Excel(name = "去向子库名称")
    private String toInventoryName;

        /** 去向货位代码 */
        @Excel(name = "去向货位代码")
    private String toLocatorCode;

        /** 去向货位名称 */
        @Excel(name = "去向货位名称")
    private String toLocatorName;

        /** toAddress */
        @Excel(name = "去向货位名称")
    private String toAddress;

        /** 去向责任人 */
        @Excel(name = "去向责任人")
    private String toMtlOwner;

        /** toWorkShopCode */
        @Excel(name = "去向责任人")
    private String toWorkShopCode;

        /** toWorkShopName */
        @Excel(name = "去向责任人")
    private String toWorkShopName;

        /** 备用字段 */
        private String segment1;

        /** segment2 */
        private String segment2;

        /** segment3 */
        private String segment3;

        /** segment4 */
        private String segment4;

        /** segment5 */
        private String segment5;

        /** segment6 */
        private String segment6;

        /** segment7 */
        private String segment7;

        /** segment8 */
        private String segment8;

        /** segment9 */
        private String segment9;

        /** segment10 */
        private String segment10;

        /** segment11 */
        private String segment11;

        /** segment12 */
        private String segment12;

        /** segment13 */
        private String segment13;

        /** segment14 */
        private String segment14;

        /** segment15 */
        private String segment15;

        /** segment16 */
        private String segment16;

        /** segment17 */
        private String segment17;

        /** segment18 */
        private String segment18;

        /** segment19 */
        private String segment19;

        /** segment20 */
        private String segment20;

        /** segment21 */
        private String segment21;

        /** segment22 */
        private String segment22;

        /** segment23 */
        private String segment23;

        /** segment24 */
        private String segment24;

        /** segment25 */
        private String segment25;

        /** segment26 */
        private String segment26;

        /** segment27 */
        private String segment27;

        /** segment28 */
        private String segment28;

        /** segment29 */
        private String segment29;

        /** segment30 */
        private String segment30;

        /** segment31 */
        private String segment31;

        /** segment32 */
        private String segment32;

        /** segment33 */
        private String segment33;

        /** segment34 */
        private String segment34;

        /** segment35 */
        private String segment35;

        /** segment36 */
        private String segment36;

        /** segment37 */
        private String segment37;

        /** segment38 */
        private String segment38;

        /** segment39 */
        private String segment39;

        /** 工厂业务类型代码 */
        private String segment40;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(exist = false)
        private Date beginTime;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(exist = false)
        private Date endTime;
}
